package com.csun.cmny.provider.model.dto.watch;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-01-18 09:50
 * @Description: the class delete watch white list dto
 */
@Data
@ApiModel(value = "删除孝心手环白名单Dto")
public class DeleteWatchWhiteListDto {

    private static final long serialVersionUID = -5477235358383673238L;

    /**
     * 设备Id
     */
    @NotNull(message = "{device.id.null}")
    private Long deviceId;

    /**
     * 要删除的序号 从0开始计数
     */
    @NotNull(message = "{watch.config.white.list.phone.number.null}")
    @Range(min = 0, message = "{watch.config.white.list.phone.number.range}")
    private Integer number;

}
